package com.ares.basic.tree;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author: cweifan
 * @date: 2019/10/5
 * @since
 */
@Data
public class BaseTree {

    /**
     * 节点id
     */
    public Long id;

    /**
     * 父节点id
     */
    public Long parentId;

    /**
     * 子集
     */
    public List<BaseTree> childrenList = new ArrayList<>();

}
